package com.hengyi.pda.activity;

import android.widget.TextView;

import com.common.mvp.BaseMvpActivity;
import com.common.mvp.BaseMvpFragment;
import com.common.mvp.BasePresenter;
import com.common.utils.EmptyUtils;
import com.hengyi.pda.R;

import butterknife.BindView;
import butterknife.ButterKnife;

public class Tes extends BaseMvpActivity {

    public static final String INFO = "info";
    @BindView(R.id.tv_inifo)
    TextView tvinfo  ;

    @Override
    protected BasePresenter createPresenterInstance() {
        return null;
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_info;
    }

    @Override
    protected void onViewCreated() {

    }

    @Override
    protected void doLogicFunc() {
        String  madanhao = getIntent().getStringExtra(INFO);
        if(EmptyUtils.isNotEmpty(madanhao)){
            tvinfo.setText(madanhao);
        }
    }

    @Override
    protected void setNavigation() {
        setNavigationBack("日志信息");
    }

    @Override
    public void bindKnife() {
        ButterKnife.bind(this);
    }

}
